let initialState = {
    data : [] ,
} ;

export const DEMAND_DETAIL = "DEMAND_DETAIL" ;

export const DemandDetailReducers = (state = initialState, action)=>{
    switch (action.type){
        case DEMAND_DETAIL:
            state = action.data ;
        default :
            return state ;
    }
} ;

export const mapStateToProps = state =>{
    return {
        //mobileFilmInfo : state.app.mobileFilmInfo.data
    }
} ;

export const mapDispatchToProps = dispatch =>{
    return{
        //changeMobileFileInfo : (e)=>{dispatch({type:MOBILE_DEMAND_DETAIL,data:e})}
    }
} ;